package cn.lizemin.demo.functionalInterface;

/**
 * @author: lizemin
 * @version: 1.0
 */
@FunctionalInterface
public interface MyConsumer {

    void accept(String msg);
    default void play(){
        System.out.println("----------play-------");
    }
    static void drink(){
        System.out.println("------static method-----");
    }


}
